package com.polaris.live.common.photo.image_preview

import android.content.Context
import android.util.AttributeSet
import android.view.MotionEvent
import androidx.viewpager.widget.ViewPager
/**
 * ImageViewPage
 *
 * @author Created by 半仙 on 2023/8/15/015 17:14
 */
class ImageViewPage(context: Context,attributeSet: AttributeSet): ViewPager(context,attributeSet) {
    override fun onInterceptTouchEvent(ev: MotionEvent?): Boolean {
        return try {
            super.onInterceptTouchEvent(ev)
        } catch (e: Exception) {
            false
        }
    }
}